home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / ANILAM-E.M3 < prev    next >
Text File  |  1996-04-01  |  5KB  |  155 lines

  1. name Anilam Crusader II First Run
  2.  
  3. % 00
  4. G 2
  5. t 4 T Add 1000
  6. X ->3.>4
  7. Z ->3.>4
  8. I ->3.>4
  9.  
  10. DComp 41 42 40                        # Left, Right & Cancel m codes      
  11. LComp 43 49                           # On & Off codes                    
  12. Spaces? Y                             # Y or N  'Spaces between words     
  13. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  14. Work G                                # Work offset register              
  15. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  16.  
  17. StartCode                             # Start of the program              
  18. %0
  19. End
  20.  
  21. 1stToolChange                         # First tool change                 
  22. G0 G90
  23. G29 t[Tool] X[Lcomp] Z0
  24. End
  25.  
  26. ToolChange                            # Secondary tool changes            
  27. G29 t[Tool] X[Lcomp] Z0
  28. End
  29.  
  30. name Anilam Crusader II Second Run
  31.  
  32. % 00
  33. N >4
  34. G 2
  35. X ->3.>4
  36. Y ->3.>4
  37. Z ->3.>4
  38. I ->3.>4
  39. J ->3.>4
  40. Q ->3.>4
  41. R ->3.>4
  42. P >40
  43. F >3.1
  44. D >2
  45. T 2
  46. t 1 T
  47. M 2
  48. S >4
  49. E 00
  50.  
  51. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  52. First#? N                             # Y or N  'Output 1st sequence no.  
  53. Last#? N                              # Y or N  'Output last sequence no. 
  54.  
  55. HCode X                               # X or X U  'Horizontal char.       
  56. VCode Y                               # Y or Y V  'Vertical char.         
  57. Dcode Z                               # Depth char.                       
  58. FeedCode F                            # Feed rate char.                   
  59.  
  60. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  61. Coolant 8 9 7                         # On, Off & Mist m codes            
  62. DComp 41 42 40                        # Left, Right & Cancel m codes      
  63. LComp 43 49                           # On & Off codes                    
  64.  
  65. Feed G1                             # Linear move                       
  66. Rapid G0                            # Rapid positioning word            
  67. Cw G2                               # Circular move clockwise           
  68. Ccw G3                              # Circular move counter clockwise   
  69. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  70. CtrCode I J                           # I J or R or I J K L               
  71. Helical? N
  72.  
  73. Spaces? Y                             # Y or N  'Spaces between words     
  74. Incremental? N                        # Y or N  'Inc or abs output        
  75. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  76. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  77. Work G                                # Work offset register              
  78. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  79.  
  80. Drill                                 # Drilling canned/manual cycle      
  81. G81 X[H] Y[V] Z[D] F[FRate]
  82. end cancel
  83.  
  84. Peck                                  # Pecking canned/manual cycle       
  85. G83 X[H] Y[V] Z[D] Q[VBite] F[FRate]
  86. end cancel
  87.  
  88. Tap                                   # Tapping canned/manual cycle       
  89. G84 X[H] Y[V] Z[D] S[Speed]
  90. end cancel
  91.  
  92. LTap                                  # Left handed tapping cycle         
  93. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  94. end cancel
  95.  
  96. Ream                                  # Reaming canned/manual cycle       
  97. G85 X[H] Y[V] Z[D] F[FRate]
  98. end cancel
  99.  
  100. Bore                                  # Boring canned/manual cycle        
  101. G86 X[H] Y[V] Z[D] F[FRate]
  102. end cancel
  103.  
  104. Back                                  # Back boring canned/manual cycle   
  105. G87 X[H] Y[V] Z[D] F[FRate]
  106. end cancel
  107.  
  108. Cancel                                # Cancel a canned/manual cycle      
  109. G80
  110. end
  111.  
  112. StartCode                             # Start of the program              
  113. End
  114.  
  115. 1stToolChange                         # First tool change                 
  116. t0
  117. Z0
  118. M5
  119. T[Tool]
  120. M[Direct]
  121. M7
  122. End
  123.  
  124. Infeed                                # Enable cutter comp                
  125. G1 G[Side] X[H] Y[V] F[Frate]
  126. End
  127.  
  128. OutFeed                               # Disable cutter comp               
  129. G1 G40 X[H] Y[V] F[Frate]
  130. End
  131.  
  132. ToolChange                            # Secondary tool changes            
  133. t0
  134. Z0
  135. M5
  136. T[Tool]
  137. M[Direct]
  138. M7
  139. End
  140.  
  141. EndCode                               # End of the program                
  142. M5
  143. T0
  144. Z0
  145. G29 E0
  146. %0
  147. End
  148.  
  149. LineCode                              # Linear move                       
  150. G1 X[H] Y[V] Z[D] F[Frate]
  151. End
  152.  
  153. RapidCode                             # Rapid move                        
  154. G0 X[H] Y[V] Z[D]
  155. End